<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <link type="text/css" rel="stylesheet" href="/css/locadoraAlunosUnoparCSS.css"></link>
        <title>Locadora Alunos UNOPAR</title>
    </h:head>
    <h:body>    
        <f:view>
            <h:form>                
                <p></p>
                <font size="2" style="verdana">
                </font>
                <div id="main">
                    <div id="top"><br></br><br></br>Locadora de Veículos Alunos UNOPAR</div>
                    <div id="menu">
                        <div id="menuItem">
                            <div id="labelTitle">Consultar Veiculo</div>
                            <br></br>
                            <h:outputLink value="../cadastroVeiculo.html">
                                <f:verbatim>Cadastrar Veiculo</f:verbatim>
                            </h:outputLink>
                            <br></br>
                            <h:outputLink value="/faces/locarVeiculo.xhtml">
                                <f:verbatim>Locar Veiculo</f:verbatim>
                            </h:outputLink> 
                            <br></br>
                            <h:outputLink value="/faces/devolverVeiculo.xhtml">
                                <f:verbatim>Devolver Veiculo</f:verbatim>
                            </h:outputLink> 
                        </div>
                    </div>
                    <div id="areaContent">
                        <div id="content">
                            <div id="labelTitle">Consultar Veiculo</div>
                            <br></br><br></br>

                            <h:panelGrid id="grid" columns="3">

                                <div id="label">Digite a placa do carro:</div>
                                <p:inputText id = "placa" value="#{veiculo.veiculo.placa}" required="true"/>
                                <p:message id="defaultMessage" for="placa"/>
                            </h:panelGrid>
                            <font size="2" style="verdana">
                                <p:commandButton value="OK prime" action="#{veiculo.buscarOk()}" update="grid"/>
                            </font>  
                        </div>
                    </div>
                </div>


            </h:form>
        </f:view>
    </h:body>
</html>








